package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.api.domain.SkuStock;
import com.spzx.product.api.domain.dto.OrderStockDTO;

public interface SkuStockMapper extends BaseMapper<SkuStock> {
    boolean checkLockStock(OrderStockDTO orderStockDTO);

    void releaseLockStock(OrderStockDTO lockedStockDTO);
}
